/**
 * $Id$ Copyright 2009-2012 Oak Pacific Interactive. All rights reserved.
 */
package com.shuqi.database.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.shuqi.database.dao.OrmBaseModel;

/**
 * 
 * 
 * @author <a href="mailto:">yaozhen</a>
 * @version 2014-3-7上午10:59:56
 */

@DatabaseTable(tableName = "book_bag_catalog")
public class BookBagCatalog extends OrmBaseModel {
    /** 数据库自增主键 */
    @DatabaseField(generatedId = true)
    private int _id;

    /** 离线书籍下载对应账号id */
    @DatabaseField(columnName = "user_id")
    private String userId;

    /** 离线书籍id */
    @DatabaseField(columnName = "book_id")
    private String bookId;

    /** 离线书籍id */
    @DatabaseField(columnName = "chapter_id")
    private int chapterId;

    /** 章节名称 */
    @DatabaseField(columnName = "chapter_name")
    private String chapterName;

    /** 章节名称 32.sqc */
    @DatabaseField(columnName = "chapter_file_name")
    private String chapterFileName;

    /** 离线书籍存储到本地的文件名称 xx.sqb */
    @DatabaseField(columnName = "book_bag_file_path")
    private String bookBagFilePath;

    public String getUserId() {
        return userId;
    }

    public String getBookId() {
        return bookId;
    }

    public int getChapterId() {
        return chapterId;
    }

    public String getChapterName() {
        return chapterName;
    }

    public String getChapterFileName() {
        return chapterFileName;
    }

    public String getBookBagFilePath() {
        return bookBagFilePath;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public void setChapterId(int chapterId) {
        this.chapterId = chapterId;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public void setChapterFileName(String chapterFileName) {
        this.chapterFileName = chapterFileName;
    }

    public void setBookBagFilePath(String bookBagFilePath) {
        this.bookBagFilePath = bookBagFilePath;
    }


}
